package models;

import com.bj.util.Expose;
import play.db.jpa.Model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-8-22
 * Time: 下午8:11
 * To change this template use File | Settings | File Templates.
 */
@Entity(name = "T_QUESTION")
public class Question extends Model {

    @Expose
    @Column(name = "ID")
    public Long id;

    @Expose
    @Column(name = "NAME")
    public String name;

    @Column(name = "IS_SHOW")
    public Integer isShow;

    @Expose
    @Column(name = "ANSWER_ID")
    public Long answerId;

    @Expose
    @Column(name = "GRADE")
    public Long grade = 0l;

    //1:审核 0:未审核
    @Column(name = "STATUS")
    public Integer status = 0;

    @Column(name = "CATEGORY")
    public Integer category = 0;

    @Column(name = "BATCH_TIME")
    public Long batchTime = null;

    @Column(name = "BROWSE_COUNT")
    public Long browseCount = 0l;

    @Column(name = "TRUE_COUNT")
    public Long trueCount = 0l;

    @Column(name = "FALSE_COUNT")
    public Long falseCount = 0l;

    @Column(name = "MISS_COUNT")
    public Long missCount = 0l;

    @Column(name = "RESPONSE_COUNT")
    public Long responseCount = 0l;

    public Long getBrowseCount() {
        return browseCount;
    }

    public void setBrowseCount(Long browseCount) {
        this.browseCount = browseCount;
    }

    public Long getTrueCount() {
        return trueCount;
    }

    public void setTrueCount(Long trueCount) {
        this.trueCount = trueCount;
    }

    public Long getFalseCount() {
        return falseCount;
    }

    public void setFalseCount(Long falseCount) {
        this.falseCount = falseCount;
    }

    public Long getMissCount() {
        return missCount;
    }

    public void setMissCount(Long missCount) {
        this.missCount = missCount;
    }

    public Long getResponseCount() {
        return responseCount;
    }

    public void setResponseCount(Long responseCount) {
        this.responseCount = responseCount;
    }

    public Long getBatchTime() {
        return batchTime;
    }

    public void setBatchTime(Long batchTime) {
        batchTime = batchTime;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getShow() {
        return isShow;
    }

    public void setShow(Integer show) {
        isShow = show;
    }

    public Long getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Long answerId) {
        this.answerId = answerId;
    }

    public Long getGrade() {
        return grade;
    }

    public void setGrade(Long grade) {
        this.grade = grade;
    }

}
